package com.totoro.springboot.mybatis.dao;

import com.totoro.springboot.mybatis.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created by Niki on 2018/10/11 9:39
 */
@Mapper
public interface UserDao {
    @Select("select * from user where id = #{id}")
    User findUserById(Integer id);
}
